package com.spring.bucks.config;

import com.alibaba.druid.filter.FilterChain;
import com.alibaba.druid.filter.FilterEventAdapter;
import com.alibaba.druid.proxy.jdbc.PreparedStatementProxy;
import lombok.extern.slf4j.Slf4j;

import java.sql.SQLException;

/**
 * @author 超
 * Create by fengc on  2022/8/29 23:41
 * todo sql入参的参数判断
 */
@Slf4j
public class ParameterLogFilter extends FilterEventAdapter {

    @Override
    public boolean preparedStatement_execute(FilterChain chain, PreparedStatementProxy statement) throws SQLException {

        return super.preparedStatement_execute(chain, statement);
    }
}
